package framework.objects.ui;

import android.view.MotionEvent;
import framework.GameScreen;
import framework.objects.BindScreenObject;

public abstract class UIElement extends BindScreenObject {

	protected GameScreen screen;
	protected UI ui;
	
	public UIElement(GameScreen screen, UI ui, float x0, float y0) {
		super(x0, y0);
		this.screen = screen;
		this.ui = ui;
	}
	
	public abstract void handle(MotionEvent event);

}
